//
//  NSObject+RSCalculator.m
//  RSTools
//
//  Created by thinkjoy on 2017/10/20.
//  Copyright © 2017年 杜瑞胜. All rights reserved.
//

#import "NSObject+RSCalculator.h"
#import "RSCalculator.h"

@implementation NSObject (RSCalculator)

- (NSInteger)makeCaculators:(void(^)(RSCalculator *make))block
{
    RSCalculator *mgr = [[RSCalculator alloc] init];
    block(mgr);
    return mgr.result;
}
@end

